package dal

import (
	"database/sql"
	"time"

	"gitee.com/zhangxinzx/wrap-error/pkg/model"
)

type userEntity struct {
	entity
	val model.User
}

func (ue *userEntity) Uuid() string {
	return ue.Uid
}
func (ue *userEntity) CreateAt() time.Time {
	return ue.CreatedAt
}
func (ue *userEntity) UpdateAt() time.Time {
	return ue.UpdatedAt
}
func (ue *userEntity) DeleteAt() sql.NullTime {
	return ue.DeletedAt
}
func (ue *userEntity) Value() interface{} {
	return &ue.val
}
